package dao;

import entity.ReplyInfo;
import entity.page.DetailPage;

import java.util.ArrayList;

public interface replyDao {

    public ArrayList<DetailPage> getReplyInfoAndUserInfoById(Integer tid);
    void insertReplyInfo(String title, String content, Integer tid, Integer sid, Integer uid);

    void getReplyCountById(Integer tid, Integer sid);

    void deleteReplyById(int rid );
    ArrayList<ReplyInfo> findReplyInfo(int rsid);
    ArrayList<ReplyInfo> findAllReply();
}
